<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="RevengesTop5Players.ascx.cs" Inherits="ASP_TF2LogParser.UserControls.RevengesTop5Players" %>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="ObjectDataSource1">
    <Columns><asp:TemplateField HeaderText="Match" SortExpression="PlayerName">
                    <ItemTemplate>
                        <asp:Label runat="server" Text='<%# GenerateUrl( Eval("PlayerName").ToString(), Eval("PlayerId").ToString() ) %>'
                            ID="PlayerNameLabel"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
        <asp:BoundField DataField="Count" HeaderText="Count" ReadOnly="True" SortExpression="Count" />
    </Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetTop5RevengingPlayers"
    TypeName="LogParser.DA.DominationRevengeModel"></asp:ObjectDataSource>
